Skip to content

Conversation

@mschmalz
Copy link
Contributor

@mschmalz mschmalz commented Jan 8, 2026

Fixes #257

Problem

Email archive doesn't keep the selected sorting order when navigating through the result pages. It swiches back to the default sorting order (DATE descending) after each page navigation.

Solution

In the pagination item links the missing properties SortBy and SortOrder were added.

Testing

  • Tested using Docker (fork build)
  • Added mail account and started sync (needs to archive more than 20 mails)
  • Opened Archive view
  • Double click on DATE column (changes sort order to "ascending")
  • Clicked on "Next" page button
  • The result was sorted by DATE ascending (as expected)
  • Changed sort order by SUBJECT
  • Clicked on "Next" page button
  • The result was still by SUBJECT (as expected)

@s1t5
Copy link
Owner

s1t5 commented Jan 9, 2026

Thank you very much! Normally, prior consultation is required, but the change is manageable, so I'll gladly take it on.

@s1t5 s1t5 merged commit 22a0d19 into s1t5:main Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Email archive doesn't keep sorting order

2 participants